package sh.model;

import lombok.Data;
import sh.dto.Measurements;
import sh.orm.annotation.Entity;

@Data
@Entity
public class User extends AbstractModel {

	public static final transient String USER_NAME = "user_name";
	public static final transient String PASSWORD = "password";


	private String password;

	/**
	 * transient 让orm标记为不保存到数据库的内容
	 */
	private transient String password2;
	private String userName;
	private String school;
	private String email;
	private String phone;

	private Measurements measurements;

}
